using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Runtime.Serialization;
using System.Xml;
using System.Xml.Schema;
namespace SLS.Presentation.Data
{
	#region GOODSTYPEDataSet
	[Serializable()]
	[DesignerCategoryAttribute("code")]
	[System.Diagnostics.DebuggerStepThrough()]
	[ToolboxItem(true)]
	public class GOODSTYPEDataSet: DataSet
	{
		private GOODSTYPEDataTable _tableGOODSTYPE;
		
		[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)]
		public GOODSTYPEDataTable GOODSTYPE
		{
			get
			{
				return this._tableGOODSTYPE;
			}
		}
		
		public GOODSTYPEDataSet()
		{
			this.InitClass();
		}
		
		protected override XmlSchema GetSchemaSerializable() 
		{
			MemoryStream stream = new MemoryStream();
			this.WriteXmlSchema(new	XmlTextWriter(stream, null));
			stream.Position = 0;
			return XmlSchema.Read(new XmlTextReader(stream), null);
		}
		
		protected override void	ReadXmlSerializable(XmlReader reader) 
		{
			this.Reset();
			DataSet ds = new DataSet();
			ds.ReadXml(reader);
			if ((ds.Tables["GOODSTYPE"] != null))
			{
				this.Tables.Add(new GOODSTYPEDataTable(ds.Tables["GOODSTYPE"]));
			}
			this.DataSetName = ds.DataSetName;
			this.Prefix = ds.Prefix;
			this.Namespace = ds.Namespace;
			this.Locale = ds.Locale;
			this.CaseSensitive = ds.CaseSensitive;
			this.EnforceConstraints = ds.EnforceConstraints;
			this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
			this.InitVars();
		}
		
		protected GOODSTYPEDataSet(SerializationInfo info, StreamingContext context)
		{
			string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
			if ((strSchema != null))
			{
				DataSet ds = new DataSet();
				ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema)));
				if ((ds.Tables["GOODSTYPE"] != null))
				{
					this.Tables.Add(new GOODSTYPEDataTable(ds.Tables["GOODSTYPE"]));
				}
				this.DataSetName = ds.DataSetName;
				this.Prefix = ds.Prefix;
				this.Namespace = ds.Namespace;
				this.Locale = ds.Locale;
				this.CaseSensitive = ds.CaseSensitive;
				this.EnforceConstraints = ds.EnforceConstraints;
				this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
				this.InitVars();
			}
			else
			{
				this.InitClass();
			}
			this.GetSerializationData(info, context);
		}
		
		private void InitClass()
		{
			this.DataSetName = "GOODSTYPEDataSet";
			_tableGOODSTYPE = new GOODSTYPEDataTable();
			this.Tables.Add(_tableGOODSTYPE);
			this.ExtendedProperties.Add("ObjectName", "GOODSTYPE");
			this.ExtendedProperties.Add("ObjectDescription", "GOODSTYPE");
			this.ExtendedProperties.Add("NameSpace", "");
		}
		
		public override DataSet Clone()
		{
			GOODSTYPEDataSet cln = ((GOODSTYPEDataSet)(base.Clone()));
			cln.InitVars();
			return cln;
		}
		
		internal void InitVars()
		{
			_tableGOODSTYPE = ((GOODSTYPEDataTable)(this.Tables["GOODSTYPE"]));
			if (_tableGOODSTYPE != null)
			{
				_tableGOODSTYPE.InitVars();
			}
		}
		
		protected override bool ShouldSerializeTables()
		{
			return false;
		}
		
		protected override bool ShouldSerializeRelations()
		{
			return false;
		}
		
		private bool ShouldSerializeGOODSTYPE()
		{
			return false;
		}
		
		public delegate void GOODSTYPERowChangeEventHandler(object sender, GOODSTYPERowChangeEventArgs e);
		
		[Serializable()]
		public class GOODSTYPEDataTable: DataTable, System.Collections.IEnumerable
		{
			private DataColumn _columnSM;
			private DataColumn _columnGTPRE;
			private DataColumn _columnKREAL;
			private DataColumn _columnLDES;
			private DataColumn _columnSDES;
			private DataColumn _columnPOS;
			private DataColumn _columnLPOS;
			private DataColumn _columnSUBSTATUS;
			private DataColumn _columnSTATUS;
			private DataColumn _columnFUSER;
			private DataColumn _columnFDATE;
			private DataColumn _columnLUSER;
			private DataColumn _columnLDATE;
			private DataColumn _columnUID;
			
			internal GOODSTYPEDataTable(): base("GOODSTYPE")
			{
				this.InitClass();
			}
			
			protected GOODSTYPEDataTable(SerializationInfo info, StreamingContext context): base(info, context)
			{
				this.InitVars();
			}
			
			internal GOODSTYPEDataTable(DataTable table): base(table.TableName)
			{
				if (table.CaseSensitive != table.DataSet.CaseSensitive)
				{
					this.CaseSensitive = table.CaseSensitive;
				}
				if (table.Locale.ToString() != table.DataSet.Locale.ToString())
				{
					this.Locale = table.Locale;
				}
				if (table.Namespace != table.DataSet.Namespace)
				{
					this.Namespace = table.Namespace;
				}
				this.Prefix = table.Prefix;
				this.MinimumCapacity = table.MinimumCapacity;
				this.DisplayExpression = table.DisplayExpression;
			}
			
			public int Count
			{
				get
				{
					return this.Rows.Count;
				}
			}
			
			public DataColumn SMColumn
			{
				get
				{
					return _columnSM;
				}
			}
			
			public DataColumn GTPREColumn
			{
				get
				{
					return _columnGTPRE;
				}
			}
			
			public DataColumn KREALColumn
			{
				get
				{
					return _columnKREAL;
				}
			}
			
			public DataColumn LDESColumn
			{
				get
				{
					return _columnLDES;
				}
			}
			
			public DataColumn SDESColumn
			{
				get
				{
					return _columnSDES;
				}
			}
			
			public DataColumn POSColumn
			{
				get
				{
					return _columnPOS;
				}
			}
			
			public DataColumn LPOSColumn
			{
				get
				{
					return _columnLPOS;
				}
			}
			
			public DataColumn SUBSTATUSColumn
			{
				get
				{
					return _columnSUBSTATUS;
				}
			}
			
			public DataColumn STATUSColumn
			{
				get
				{
					return _columnSTATUS;
				}
			}
			
			public DataColumn FUSERColumn
			{
				get
				{
					return _columnFUSER;
				}
			}
			
			public DataColumn FDATEColumn
			{
				get
				{
					return _columnFDATE;
				}
			}
			
			public DataColumn LUSERColumn
			{
				get
				{
					return _columnLUSER;
				}
			}
			
			public DataColumn LDATEColumn
			{
				get
				{
					return _columnLDATE;
				}
			}
			
			public DataColumn UIDColumn
			{
				get
				{
					return _columnUID;
				}
			}
			
			public GOODSTYPERow this[int index]
			{
				get
				{
					return ((GOODSTYPERow)(this.Rows[index]));
				}
			}
			
			public event GOODSTYPERowChangeEventHandler GOODSTYPERowChanged;
			public event GOODSTYPERowChangeEventHandler GOODSTYPERowChanging;
			public event GOODSTYPERowChangeEventHandler GOODSTYPERowDeleted;
			public event GOODSTYPERowChangeEventHandler GOODSTYPERowDeleting;
			
			public void AddGOODSTYPERow(GOODSTYPERow row)
			{
				this.Rows.Add(row);
			}
			
			public GOODSTYPERow AddGOODSTYPERow(
					string sm,
					string gtpre,
					string kreal,
					string ldes,
					string sdes,
					int pos,
					int lpos,
					string substatus,
					string status,
					string fuser,
					DateTime fdate,
					string luser,
					DateTime ldate,
					string uid
				)
			{
				GOODSTYPERow rowGOODSTYPERow = ((GOODSTYPERow)(this.NewRow()));
				rowGOODSTYPERow["SM"] = sm;
				rowGOODSTYPERow["GTPRE"] = gtpre;
				rowGOODSTYPERow["KREAL"] = kreal;
				rowGOODSTYPERow["LDES"] = ldes;
				rowGOODSTYPERow["SDES"] = sdes;
				rowGOODSTYPERow["POS"] = pos;
				rowGOODSTYPERow["LPOS"] = lpos;
				rowGOODSTYPERow["SUBSTATUS"] = substatus;
				rowGOODSTYPERow["STATUS"] = status;
				rowGOODSTYPERow["FUSER"] = fuser;
				rowGOODSTYPERow["FDATE"] = fdate;
				rowGOODSTYPERow["LUSER"] = luser;
				rowGOODSTYPERow["LDATE"] = ldate;
				rowGOODSTYPERow["UID"] = uid;
				this.Rows.Add(rowGOODSTYPERow);
				return rowGOODSTYPERow;
			}
			
			public IEnumerator GetEnumerator()
			{
				return this.Rows.GetEnumerator();
			}
			
			public override DataTable Clone()
			{
				GOODSTYPEDataTable cln = ((GOODSTYPEDataTable)(base.Clone()));
				cln.InitVars();
				return cln;
			}
			
			internal void InitVars()
			{
				_columnSM = this.Columns["SM"];
				_columnGTPRE = this.Columns["GTPRE"];
				_columnKREAL = this.Columns["KREAL"];
				_columnLDES = this.Columns["LDES"];
				_columnSDES = this.Columns["SDES"];
				_columnPOS = this.Columns["POS"];
				_columnLPOS = this.Columns["LPOS"];
				_columnSUBSTATUS = this.Columns["SUBSTATUS"];
				_columnSTATUS = this.Columns["STATUS"];
				_columnFUSER = this.Columns["FUSER"];
				_columnFDATE = this.Columns["FDATE"];
				_columnLUSER = this.Columns["LUSER"];
				_columnLDATE = this.Columns["LDATE"];
				_columnUID = this.Columns["UID"];
			}
			
			public void InitClass()
			{
				_columnSM = new DataColumn("SM", typeof(string), "", MappingType.Element);
				_columnSM.AllowDBNull = false;
				_columnSM.Caption = "Sm";
				_columnSM.MaxLength = 10;
				_columnSM.Unique = false;
				_columnSM.DefaultValue = Convert.DBNull;
				_columnSM.ExtendedProperties.Add("IsKey", "true");
				_columnSM.ExtendedProperties.Add("ReadOnly", "false");
				_columnSM.ExtendedProperties.Add("Description", "Sm");
				_columnSM.ExtendedProperties.Add("Length", "10");
				_columnSM.ExtendedProperties.Add("Decimals", "0");
				_columnSM.ExtendedProperties.Add("AllowDBNulls", "false");
				this.Columns.Add(_columnSM);
				
				_columnGTPRE = new DataColumn("GTPRE", typeof(string), "", MappingType.Element);
				_columnGTPRE.AllowDBNull = false;
				_columnGTPRE.Caption = "Gtpre";
				_columnGTPRE.MaxLength = 2;
				_columnGTPRE.Unique = false;
				_columnGTPRE.DefaultValue = Convert.DBNull;
				_columnGTPRE.ExtendedProperties.Add("IsKey", "true");
				_columnGTPRE.ExtendedProperties.Add("ReadOnly", "false");
				_columnGTPRE.ExtendedProperties.Add("Description", "Gtpre");
				_columnGTPRE.ExtendedProperties.Add("Length", "2");
				_columnGTPRE.ExtendedProperties.Add("Decimals", "0");
				_columnGTPRE.ExtendedProperties.Add("AllowDBNulls", "false");
				this.Columns.Add(_columnGTPRE);
				
				_columnKREAL = new DataColumn("KREAL", typeof(string), "", MappingType.Element);
				_columnKREAL.AllowDBNull = true;
				_columnKREAL.Caption = "Kreal";
				_columnKREAL.MaxLength = 100;
				_columnKREAL.Unique = false;
				_columnKREAL.DefaultValue = Convert.DBNull;
				_columnKREAL.ExtendedProperties.Add("IsKey", "false");
				_columnKREAL.ExtendedProperties.Add("ReadOnly", "false");
				_columnKREAL.ExtendedProperties.Add("Description", "Kreal");
				_columnKREAL.ExtendedProperties.Add("Length", "100");
				_columnKREAL.ExtendedProperties.Add("Decimals", "0");
				_columnKREAL.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnKREAL);
				
				_columnLDES = new DataColumn("LDES", typeof(string), "", MappingType.Element);
				_columnLDES.AllowDBNull = true;
				_columnLDES.Caption = "Ldes";
				_columnLDES.MaxLength = 250;
				_columnLDES.Unique = false;
				_columnLDES.DefaultValue = Convert.DBNull;
				_columnLDES.ExtendedProperties.Add("IsKey", "false");
				_columnLDES.ExtendedProperties.Add("ReadOnly", "false");
				_columnLDES.ExtendedProperties.Add("Description", "Ldes");
				_columnLDES.ExtendedProperties.Add("Length", "250");
				_columnLDES.ExtendedProperties.Add("Decimals", "0");
				_columnLDES.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnLDES);
				
				_columnSDES = new DataColumn("SDES", typeof(string), "", MappingType.Element);
				_columnSDES.AllowDBNull = true;
				_columnSDES.Caption = "Sdes";
				_columnSDES.MaxLength = 250;
				_columnSDES.Unique = false;
				_columnSDES.DefaultValue = Convert.DBNull;
				_columnSDES.ExtendedProperties.Add("IsKey", "false");
				_columnSDES.ExtendedProperties.Add("ReadOnly", "false");
				_columnSDES.ExtendedProperties.Add("Description", "Sdes");
				_columnSDES.ExtendedProperties.Add("Length", "250");
				_columnSDES.ExtendedProperties.Add("Decimals", "0");
				_columnSDES.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnSDES);
				
				_columnPOS = new DataColumn("POS", typeof(int), "", MappingType.Element);
				_columnPOS.AllowDBNull = true;
				_columnPOS.Caption = "Pos";
				_columnPOS.Unique = false;
				_columnPOS.DefaultValue = Convert.DBNull;
				_columnPOS.ExtendedProperties.Add("IsKey", "false");
				_columnPOS.ExtendedProperties.Add("ReadOnly", "false");
				_columnPOS.ExtendedProperties.Add("Description", "Pos");
				_columnPOS.ExtendedProperties.Add("Decimals", "0");
				_columnPOS.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnPOS);
				
				_columnLPOS = new DataColumn("LPOS", typeof(int), "", MappingType.Element);
				_columnLPOS.AllowDBNull = true;
				_columnLPOS.Caption = "Lpos";
				_columnLPOS.Unique = false;
				_columnLPOS.DefaultValue = Convert.DBNull;
				_columnLPOS.ExtendedProperties.Add("IsKey", "false");
				_columnLPOS.ExtendedProperties.Add("ReadOnly", "false");
				_columnLPOS.ExtendedProperties.Add("Description", "Lpos");
				_columnLPOS.ExtendedProperties.Add("Decimals", "0");
				_columnLPOS.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnLPOS);
				
				_columnSUBSTATUS = new DataColumn("SUBSTATUS", typeof(string), "", MappingType.Element);
				_columnSUBSTATUS.AllowDBNull = true;
				_columnSUBSTATUS.Caption = "Substatus";
				_columnSUBSTATUS.MaxLength = -1;
				_columnSUBSTATUS.Unique = false;
				_columnSUBSTATUS.DefaultValue = Convert.DBNull;
				_columnSUBSTATUS.ExtendedProperties.Add("IsKey", "false");
				_columnSUBSTATUS.ExtendedProperties.Add("ReadOnly", "false");
				_columnSUBSTATUS.ExtendedProperties.Add("Description", "Substatus");
				_columnSUBSTATUS.ExtendedProperties.Add("Length", "-1");
				_columnSUBSTATUS.ExtendedProperties.Add("Decimals", "0");
				_columnSUBSTATUS.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnSUBSTATUS);
				
				_columnSTATUS = new DataColumn("STATUS", typeof(string), "", MappingType.Element);
				_columnSTATUS.AllowDBNull = true;
				_columnSTATUS.Caption = "Status";
				_columnSTATUS.MaxLength = 50;
				_columnSTATUS.Unique = false;
				_columnSTATUS.DefaultValue = Convert.DBNull;
				_columnSTATUS.ExtendedProperties.Add("IsKey", "false");
				_columnSTATUS.ExtendedProperties.Add("ReadOnly", "false");
				_columnSTATUS.ExtendedProperties.Add("Description", "Status");
				_columnSTATUS.ExtendedProperties.Add("Length", "50");
				_columnSTATUS.ExtendedProperties.Add("Decimals", "0");
				_columnSTATUS.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnSTATUS);
				
				_columnFUSER = new DataColumn("FUSER", typeof(string), "", MappingType.Element);
				_columnFUSER.AllowDBNull = true;
				_columnFUSER.Caption = "Fuser";
				_columnFUSER.MaxLength = 40;
				_columnFUSER.Unique = false;
				_columnFUSER.DefaultValue = Convert.DBNull;
				_columnFUSER.ExtendedProperties.Add("IsKey", "false");
				_columnFUSER.ExtendedProperties.Add("ReadOnly", "false");
				_columnFUSER.ExtendedProperties.Add("Description", "Fuser");
				_columnFUSER.ExtendedProperties.Add("Length", "40");
				_columnFUSER.ExtendedProperties.Add("Decimals", "0");
				_columnFUSER.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnFUSER);
				
				_columnFDATE = new DataColumn("FDATE", typeof(DateTime), "", MappingType.Element);
				_columnFDATE.AllowDBNull = true;
				_columnFDATE.Caption = "Fdate";
				_columnFDATE.Unique = false;
				_columnFDATE.DefaultValue = Convert.DBNull;
				_columnFDATE.ExtendedProperties.Add("IsKey", "false");
				_columnFDATE.ExtendedProperties.Add("ReadOnly", "false");
				_columnFDATE.ExtendedProperties.Add("Description", "Fdate");
				_columnFDATE.ExtendedProperties.Add("Decimals", "0");
				_columnFDATE.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnFDATE);
				
				_columnLUSER = new DataColumn("LUSER", typeof(string), "", MappingType.Element);
				_columnLUSER.AllowDBNull = true;
				_columnLUSER.Caption = "Luser";
				_columnLUSER.MaxLength = 40;
				_columnLUSER.Unique = false;
				_columnLUSER.DefaultValue = Convert.DBNull;
				_columnLUSER.ExtendedProperties.Add("IsKey", "false");
				_columnLUSER.ExtendedProperties.Add("ReadOnly", "false");
				_columnLUSER.ExtendedProperties.Add("Description", "Luser");
				_columnLUSER.ExtendedProperties.Add("Length", "40");
				_columnLUSER.ExtendedProperties.Add("Decimals", "0");
				_columnLUSER.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnLUSER);
				
				_columnLDATE = new DataColumn("LDATE", typeof(DateTime), "", MappingType.Element);
				_columnLDATE.AllowDBNull = true;
				_columnLDATE.Caption = "Ldate";
				_columnLDATE.Unique = false;
				_columnLDATE.DefaultValue = Convert.DBNull;
				_columnLDATE.ExtendedProperties.Add("IsKey", "false");
				_columnLDATE.ExtendedProperties.Add("ReadOnly", "false");
				_columnLDATE.ExtendedProperties.Add("Description", "Ldate");
				_columnLDATE.ExtendedProperties.Add("Decimals", "0");
				_columnLDATE.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnLDATE);
				
				_columnUID = new DataColumn("UID", typeof(string), "", MappingType.Element);
				_columnUID.AllowDBNull = true;
				_columnUID.Caption = "Uid";
				_columnUID.MaxLength = 256;
				_columnUID.Unique = false;
				_columnUID.DefaultValue = Convert.DBNull;
				_columnUID.ExtendedProperties.Add("IsKey", "false");
				_columnUID.ExtendedProperties.Add("ReadOnly", "false");
				_columnUID.ExtendedProperties.Add("Description", "Uid");
				_columnUID.ExtendedProperties.Add("Length", "256");
				_columnUID.ExtendedProperties.Add("Decimals", "0");
				_columnUID.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnUID);
				
			}
			
			public GOODSTYPERow NewGOODSTYPERow()
			{
				GOODSTYPERow rowGOODSTYPERow = ((GOODSTYPERow)(this.NewRow()));
				return rowGOODSTYPERow;
			}
			
			protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
			{
				return new GOODSTYPERow(builder);
			}
			
			protected override Type GetRowType()
			{
				return typeof(GOODSTYPERow);
			}
			
			protected override void OnRowChanged(DataRowChangeEventArgs e)
			{
				base.OnRowChanged(e);
				if (this.GOODSTYPERowChanged != null)
				{
					this.GOODSTYPERowChanged(this, new GOODSTYPERowChangeEventArgs(((GOODSTYPERow)(e.Row)), e.Action));
				}
			}
			
			protected override void OnRowChanging(DataRowChangeEventArgs e)
			{
				base.OnRowChanging(e);
				if (this.GOODSTYPERowChanging != null)
				{
					this.GOODSTYPERowChanging(this, new GOODSTYPERowChangeEventArgs(((GOODSTYPERow)(e.Row)), e.Action));
				}
			}
			
			protected override void OnRowDeleted(DataRowChangeEventArgs e)
			{
				base.OnRowDeleted(e);
				if (this.GOODSTYPERowDeleted != null)
				{
					this.GOODSTYPERowDeleted(this, new GOODSTYPERowChangeEventArgs(((GOODSTYPERow)(e.Row)), e.Action));
				}
			}
			
			protected override void OnRowDeleting(DataRowChangeEventArgs e)
			{
				base.OnRowDeleting(e);
				if (this.GOODSTYPERowDeleting != null)
				{
					this.GOODSTYPERowDeleting(this, new GOODSTYPERowChangeEventArgs(((GOODSTYPERow)(e.Row)), e.Action));
				}
			}
			
			public void RemoveGOODSTYPERow(GOODSTYPERow row)
			{
				this.Rows.Remove(row);
			}
		}
		
		public class GOODSTYPERow: DataRow
		{
			private GOODSTYPEDataTable _tableGOODSTYPE;
			
			internal GOODSTYPERow(DataRowBuilder rb): base(rb)
			{
				_tableGOODSTYPE = ((GOODSTYPEDataTable)(this.Table));
			}
			
			/// <summary>
			/// Gets or sets the value of SM property
			/// </summary>
			public string SM
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPE.SMColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value SM because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPE.SMColumn] = value;
				}
			}
			
			public bool IsSMNull()
			{
				return this.IsNull(_tableGOODSTYPE.SMColumn);
			}
			
			public void SetSMNull()
			{
				this[_tableGOODSTYPE.SMColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of GTPRE property
			/// </summary>
			public string GTPRE
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPE.GTPREColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value GTPRE because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPE.GTPREColumn] = value;
				}
			}
			
			public bool IsGTPRENull()
			{
				return this.IsNull(_tableGOODSTYPE.GTPREColumn);
			}
			
			public void SetGTPRENull()
			{
				this[_tableGOODSTYPE.GTPREColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of KREAL property
			/// </summary>
			public string KREAL
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPE.KREALColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value KREAL because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPE.KREALColumn] = value;
				}
			}
			
			public bool IsKREALNull()
			{
				return this.IsNull(_tableGOODSTYPE.KREALColumn);
			}
			
			public void SetKREALNull()
			{
				this[_tableGOODSTYPE.KREALColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of LDES property
			/// </summary>
			public string LDES
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPE.LDESColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value LDES because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPE.LDESColumn] = value;
				}
			}
			
			public bool IsLDESNull()
			{
				return this.IsNull(_tableGOODSTYPE.LDESColumn);
			}
			
			public void SetLDESNull()
			{
				this[_tableGOODSTYPE.LDESColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of SDES property
			/// </summary>
			public string SDES
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPE.SDESColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value SDES because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPE.SDESColumn] = value;
				}
			}
			
			public bool IsSDESNull()
			{
				return this.IsNull(_tableGOODSTYPE.SDESColumn);
			}
			
			public void SetSDESNull()
			{
				this[_tableGOODSTYPE.SDESColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of POS property
			/// </summary>
			public int POS
			{
				get
				{
					try
					{
						return ((int)(this[_tableGOODSTYPE.POSColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value POS because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPE.POSColumn] = value;
				}
			}
			
			public bool IsPOSNull()
			{
				return this.IsNull(_tableGOODSTYPE.POSColumn);
			}
			
			public void SetPOSNull()
			{
				this[_tableGOODSTYPE.POSColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of LPOS property
			/// </summary>
			public int LPOS
			{
				get
				{
					try
					{
						return ((int)(this[_tableGOODSTYPE.LPOSColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value LPOS because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPE.LPOSColumn] = value;
				}
			}
			
			public bool IsLPOSNull()
			{
				return this.IsNull(_tableGOODSTYPE.LPOSColumn);
			}
			
			public void SetLPOSNull()
			{
				this[_tableGOODSTYPE.LPOSColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of SUBSTATUS property
			/// </summary>
			public string SUBSTATUS
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPE.SUBSTATUSColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value SUBSTATUS because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPE.SUBSTATUSColumn] = value;
				}
			}
			
			public bool IsSUBSTATUSNull()
			{
				return this.IsNull(_tableGOODSTYPE.SUBSTATUSColumn);
			}
			
			public void SetSUBSTATUSNull()
			{
				this[_tableGOODSTYPE.SUBSTATUSColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of STATUS property
			/// </summary>
			public string STATUS
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPE.STATUSColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value STATUS because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPE.STATUSColumn] = value;
				}
			}
			
			public bool IsSTATUSNull()
			{
				return this.IsNull(_tableGOODSTYPE.STATUSColumn);
			}
			
			public void SetSTATUSNull()
			{
				this[_tableGOODSTYPE.STATUSColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of FUSER property
			/// </summary>
			public string FUSER
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPE.FUSERColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value FUSER because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPE.FUSERColumn] = value;
				}
			}
			
			public bool IsFUSERNull()
			{
				return this.IsNull(_tableGOODSTYPE.FUSERColumn);
			}
			
			public void SetFUSERNull()
			{
				this[_tableGOODSTYPE.FUSERColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of FDATE property
			/// </summary>
			public DateTime FDATE
			{
				get
				{
					try
					{
						return ((DateTime)(this[_tableGOODSTYPE.FDATEColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value FDATE because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPE.FDATEColumn] = value;
				}
			}
			
			public bool IsFDATENull()
			{
				return this.IsNull(_tableGOODSTYPE.FDATEColumn);
			}
			
			public void SetFDATENull()
			{
				this[_tableGOODSTYPE.FDATEColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of LUSER property
			/// </summary>
			public string LUSER
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPE.LUSERColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value LUSER because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPE.LUSERColumn] = value;
				}
			}
			
			public bool IsLUSERNull()
			{
				return this.IsNull(_tableGOODSTYPE.LUSERColumn);
			}
			
			public void SetLUSERNull()
			{
				this[_tableGOODSTYPE.LUSERColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of LDATE property
			/// </summary>
			public DateTime LDATE
			{
				get
				{
					try
					{
						return ((DateTime)(this[_tableGOODSTYPE.LDATEColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value LDATE because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPE.LDATEColumn] = value;
				}
			}
			
			public bool IsLDATENull()
			{
				return this.IsNull(_tableGOODSTYPE.LDATEColumn);
			}
			
			public void SetLDATENull()
			{
				this[_tableGOODSTYPE.LDATEColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of UID property
			/// </summary>
			public string UID
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPE.UIDColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value UID because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPE.UIDColumn] = value;
				}
			}
			
			public bool IsUIDNull()
			{
				return this.IsNull(_tableGOODSTYPE.UIDColumn);
			}
			
			public void SetUIDNull()
			{
				this[_tableGOODSTYPE.UIDColumn] = Convert.DBNull;
			}
			
		}
		
		public class GOODSTYPERowChangeEventArgs: EventArgs
		{
			private GOODSTYPERow _eventRow;
			private System.Data.DataRowAction _eventAction;
			
			public GOODSTYPERowChangeEventArgs(GOODSTYPERow row, DataRowAction action)
			{
				_eventRow = row;
				_eventAction = action;
			}
			
			public GOODSTYPERow Row
			{
				get
				{
					return _eventRow;
				}
			}
			
			public DataRowAction Action
			{
				get
				{
					return _eventAction;
				}
			}
		}
	}
	#endregion
    #region GOODSTYPEQueryCondDataSet
	[Serializable()]
	[DesignerCategoryAttribute("code")]
	[System.Diagnostics.DebuggerStepThrough()]
	[ToolboxItem(true)]
	public class GOODSTYPEQueryCondDataSet: DataSet
	{
		private GOODSTYPEQueryCondDataTable _tableGOODSTYPEQueryCond;
		
		[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)]
		public GOODSTYPEQueryCondDataTable GOODSTYPEQueryCond
		{
			get
			{
				return this._tableGOODSTYPEQueryCond;
			}
		}
		
		public GOODSTYPEQueryCondDataSet()
		{
			this.InitClass();
		}
		
		protected override XmlSchema GetSchemaSerializable() 
		{
			MemoryStream stream = new MemoryStream();
			this.WriteXmlSchema(new	XmlTextWriter(stream, null));
			stream.Position = 0;
			return XmlSchema.Read(new XmlTextReader(stream), null);
		}
		
		protected override void	ReadXmlSerializable(XmlReader reader) 
		{
			this.Reset();
			DataSet ds = new DataSet();
			ds.ReadXml(reader);
			if ((ds.Tables["GOODSTYPEQueryCond"] != null))
			{
				this.Tables.Add(new GOODSTYPEQueryCondDataTable(ds.Tables["GOODSTYPEQueryCond"]));
			}
			this.DataSetName = ds.DataSetName;
			this.Prefix = ds.Prefix;
			this.Namespace = ds.Namespace;
			this.Locale = ds.Locale;
			this.CaseSensitive = ds.CaseSensitive;
			this.EnforceConstraints = ds.EnforceConstraints;
			this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
			this.InitVars();
		}
		
		protected GOODSTYPEQueryCondDataSet(SerializationInfo info, StreamingContext context)
		{
			string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
			if ((strSchema != null))
			{
				DataSet ds = new DataSet();
				ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema)));
				if ((ds.Tables["GOODSTYPEQueryCond"] != null))
				{
					this.Tables.Add(new GOODSTYPEQueryCondDataTable(ds.Tables["GOODSTYPEQueryCond"]));
				}
				this.DataSetName = ds.DataSetName;
				this.Prefix = ds.Prefix;
				this.Namespace = ds.Namespace;
				this.Locale = ds.Locale;
				this.CaseSensitive = ds.CaseSensitive;
				this.EnforceConstraints = ds.EnforceConstraints;
				this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
				this.InitVars();
			}
			else
			{
				this.InitClass();
			}
			this.GetSerializationData(info, context);
		}
		
		private void InitClass()
		{
			this.DataSetName = "GOODSTYPEQueryCondDataSet";
			_tableGOODSTYPEQueryCond = new GOODSTYPEQueryCondDataTable();
			this.Tables.Add(_tableGOODSTYPEQueryCond);
			this.ExtendedProperties.Add("ObjectName", "GOODSTYPEQueryCond");
			this.ExtendedProperties.Add("ObjectDescription", "GOODSTYPEQueryCond");
			this.ExtendedProperties.Add("NameSpace", "");
		}
		
		public override DataSet Clone()
		{
			GOODSTYPEQueryCondDataSet cln = ((GOODSTYPEQueryCondDataSet)(base.Clone()));
			cln.InitVars();
			return cln;
		}
		
		internal void InitVars()
		{
			_tableGOODSTYPEQueryCond = ((GOODSTYPEQueryCondDataTable)(this.Tables["GOODSTYPEQueryCond"]));
			if (_tableGOODSTYPEQueryCond != null)
			{
				_tableGOODSTYPEQueryCond.InitVars();
			}
		}
		
		protected override bool ShouldSerializeTables()
		{
			return false;
		}
		
		protected override bool ShouldSerializeRelations()
		{
			return false;
		}
		
		private bool ShouldSerializeGOODSTYPEQueryCond()
		{
			return false;
		}
		
		public delegate void GOODSTYPEQueryCondRowChangeEventHandler(object sender, GOODSTYPEQueryCondRowChangeEventArgs e);
		
		[Serializable()]
		public class GOODSTYPEQueryCondDataTable: DataTable, System.Collections.IEnumerable
		{
			private DataColumn _columnQUERYTYPE;
			private DataColumn _columnCONDTYPE;
			private DataColumn _columnREASON1;
			private DataColumn _columnFKREAL;
			private DataColumn _columnSM;
			private DataColumn _columnGTPRE;
			private DataColumn _columnGOODSTYPEID;
			private DataColumn _columnKEYCONDITION;
			private DataColumn _columnKREAL;
			private DataColumn _columnLDES;
			private DataColumn _columnSDES;
			private DataColumn _columnPOS;
			private DataColumn _columnLPOS;
			private DataColumn _columnSUBSTATUS;
			private DataColumn _columnSTATUS;
			private DataColumn _columnFUSER;
			private DataColumn _columnFDATE;
			private DataColumn _columnLUSER;
			private DataColumn _columnLDATE;
			private DataColumn _columnUID;
			
			internal GOODSTYPEQueryCondDataTable(): base("GOODSTYPEQueryCond")
			{
				this.InitClass();
			}
			
			protected GOODSTYPEQueryCondDataTable(SerializationInfo info, StreamingContext context): base(info, context)
			{
				this.InitVars();
			}
			
			internal GOODSTYPEQueryCondDataTable(DataTable table): base(table.TableName)
			{
				if (table.CaseSensitive != table.DataSet.CaseSensitive)
				{
					this.CaseSensitive = table.CaseSensitive;
				}
				if (table.Locale.ToString() != table.DataSet.Locale.ToString())
				{
					this.Locale = table.Locale;
				}
				if (table.Namespace != table.DataSet.Namespace)
				{
					this.Namespace = table.Namespace;
				}
				this.Prefix = table.Prefix;
				this.MinimumCapacity = table.MinimumCapacity;
				this.DisplayExpression = table.DisplayExpression;
			}
			
			public int Count
			{
				get
				{
					return this.Rows.Count;
				}
			}
			
			public DataColumn QUERYTYPEColumn
			{
				get
				{
					return _columnQUERYTYPE;
				}
			}
			
			public DataColumn CONDTYPEColumn
			{
				get
				{
					return _columnCONDTYPE;
				}
			}
			
			public DataColumn REASON1Column
			{
				get
				{
					return _columnREASON1;
				}
			}
			
			public DataColumn FKREALColumn
			{
				get
				{
					return _columnFKREAL;
				}
			}
			
			public DataColumn SMColumn
			{
				get
				{
					return _columnSM;
				}
			}
			
			public DataColumn GTPREColumn
			{
				get
				{
					return _columnGTPRE;
				}
			}
			
			public DataColumn GOODSTYPEIDColumn
			{
				get
				{
					return _columnGOODSTYPEID;
				}
			}
			
			public DataColumn KEYCONDITIONColumn
			{
				get
				{
					return _columnKEYCONDITION;
				}
			}
			
			public DataColumn KREALColumn
			{
				get
				{
					return _columnKREAL;
				}
			}
			
			public DataColumn LDESColumn
			{
				get
				{
					return _columnLDES;
				}
			}
			
			public DataColumn SDESColumn
			{
				get
				{
					return _columnSDES;
				}
			}
			
			public DataColumn POSColumn
			{
				get
				{
					return _columnPOS;
				}
			}
			
			public DataColumn LPOSColumn
			{
				get
				{
					return _columnLPOS;
				}
			}
			
			public DataColumn SUBSTATUSColumn
			{
				get
				{
					return _columnSUBSTATUS;
				}
			}
			
			public DataColumn STATUSColumn
			{
				get
				{
					return _columnSTATUS;
				}
			}
			
			public DataColumn FUSERColumn
			{
				get
				{
					return _columnFUSER;
				}
			}
			
			public DataColumn FDATEColumn
			{
				get
				{
					return _columnFDATE;
				}
			}
			
			public DataColumn LUSERColumn
			{
				get
				{
					return _columnLUSER;
				}
			}
			
			public DataColumn LDATEColumn
			{
				get
				{
					return _columnLDATE;
				}
			}
			
			public DataColumn UIDColumn
			{
				get
				{
					return _columnUID;
				}
			}
			
			public GOODSTYPEQueryCondRow this[int index]
			{
				get
				{
					return ((GOODSTYPEQueryCondRow)(this.Rows[index]));
				}
			}
			
			public event GOODSTYPEQueryCondRowChangeEventHandler GOODSTYPEQueryCondRowChanged;
			public event GOODSTYPEQueryCondRowChangeEventHandler GOODSTYPEQueryCondRowChanging;
			public event GOODSTYPEQueryCondRowChangeEventHandler GOODSTYPEQueryCondRowDeleted;
			public event GOODSTYPEQueryCondRowChangeEventHandler GOODSTYPEQueryCondRowDeleting;
			
			public void AddGOODSTYPEQueryCondRow(GOODSTYPEQueryCondRow row)
			{
				this.Rows.Add(row);
			}
			
			public GOODSTYPEQueryCondRow AddGOODSTYPEQueryCondRow(
					string querytype,
					string condtype,
					string reason1,
					string fkreal,
					string sm,
					string gtpre,
					string goodstypeid,
					string keycondition,
					string kreal,
					string ldes,
					string sdes,
					int pos,
					int lpos,
					string substatus,
					string status,
					string fuser,
					DateTime fdate,
					string luser,
					DateTime ldate,
					string uid
				)
			{
				GOODSTYPEQueryCondRow rowGOODSTYPEQueryCondRow = ((GOODSTYPEQueryCondRow)(this.NewRow()));
				rowGOODSTYPEQueryCondRow["QUERYTYPE"] = querytype;
				rowGOODSTYPEQueryCondRow["CONDTYPE"] = condtype;
				rowGOODSTYPEQueryCondRow["REASON1"] = reason1;
				rowGOODSTYPEQueryCondRow["FKREAL"] = fkreal;
				rowGOODSTYPEQueryCondRow["SM"] = sm;
				rowGOODSTYPEQueryCondRow["GTPRE"] = gtpre;
				rowGOODSTYPEQueryCondRow["GOODSTYPEID"] = goodstypeid;
				rowGOODSTYPEQueryCondRow["KEYCONDITION"] = keycondition;
				rowGOODSTYPEQueryCondRow["KREAL"] = kreal;
				rowGOODSTYPEQueryCondRow["LDES"] = ldes;
				rowGOODSTYPEQueryCondRow["SDES"] = sdes;
				rowGOODSTYPEQueryCondRow["POS"] = pos;
				rowGOODSTYPEQueryCondRow["LPOS"] = lpos;
				rowGOODSTYPEQueryCondRow["SUBSTATUS"] = substatus;
				rowGOODSTYPEQueryCondRow["STATUS"] = status;
				rowGOODSTYPEQueryCondRow["FUSER"] = fuser;
				rowGOODSTYPEQueryCondRow["FDATE"] = fdate;
				rowGOODSTYPEQueryCondRow["LUSER"] = luser;
				rowGOODSTYPEQueryCondRow["LDATE"] = ldate;
				rowGOODSTYPEQueryCondRow["UID"] = uid;
				this.Rows.Add(rowGOODSTYPEQueryCondRow);
				return rowGOODSTYPEQueryCondRow;
			} 
			 
			public IEnumerator GetEnumerator()
			{
				return this.Rows.GetEnumerator();
			}
			
			public override DataTable Clone()
			{
				GOODSTYPEQueryCondDataTable cln = ((GOODSTYPEQueryCondDataTable)(base.Clone()));
				cln.InitVars();
				return cln;
			}
			
			internal void InitVars()
			{
				_columnQUERYTYPE = this.Columns["QUERYTYPE"];
				_columnCONDTYPE = this.Columns["CONDTYPE"];
				_columnREASON1 = this.Columns["REASON1"];
				_columnFKREAL = this.Columns["FKREAL"];
				_columnSM = this.Columns["SM"];
				_columnGTPRE = this.Columns["GTPRE"];
				_columnGOODSTYPEID = this.Columns["GOODSTYPEID"];
				_columnKEYCONDITION = this.Columns["KEYCONDITION"];
				_columnKREAL = this.Columns["KREAL"];
				_columnLDES = this.Columns["LDES"];
				_columnSDES = this.Columns["SDES"];
				_columnPOS = this.Columns["POS"];
				_columnLPOS = this.Columns["LPOS"];
				_columnSUBSTATUS = this.Columns["SUBSTATUS"];
				_columnSTATUS = this.Columns["STATUS"];
				_columnFUSER = this.Columns["FUSER"];
				_columnFDATE = this.Columns["FDATE"];
				_columnLUSER = this.Columns["LUSER"];
				_columnLDATE = this.Columns["LDATE"];
				_columnUID = this.Columns["UID"];
			}
			
			public void InitClass()
			{
				_columnQUERYTYPE = new DataColumn("QUERYTYPE", typeof(string), "", MappingType.Element);
				_columnQUERYTYPE.AllowDBNull = false;
				_columnQUERYTYPE.Caption = "Querytype";
				_columnQUERYTYPE.MaxLength = 50;
				_columnQUERYTYPE.Unique = false;
				_columnQUERYTYPE.DefaultValue = Convert.DBNull;
				_columnQUERYTYPE.ExtendedProperties.Add("IsKey", "false");
				_columnQUERYTYPE.ExtendedProperties.Add("ReadOnly", "false");
				_columnQUERYTYPE.ExtendedProperties.Add("Description", "Querytype");
				_columnQUERYTYPE.ExtendedProperties.Add("Length", "50");
				_columnQUERYTYPE.ExtendedProperties.Add("Decimals", "0");
				_columnQUERYTYPE.ExtendedProperties.Add("AllowDBNulls", "false");
				this.Columns.Add(_columnQUERYTYPE);
				
				_columnCONDTYPE = new DataColumn("CONDTYPE", typeof(string), "", MappingType.Element);
				_columnCONDTYPE.AllowDBNull = false;
				_columnCONDTYPE.Caption = "Condtype";
				_columnCONDTYPE.MaxLength = 250;
				_columnCONDTYPE.Unique = false;
				_columnCONDTYPE.DefaultValue = Convert.DBNull;
				_columnCONDTYPE.ExtendedProperties.Add("IsKey", "false");
				_columnCONDTYPE.ExtendedProperties.Add("ReadOnly", "false");
				_columnCONDTYPE.ExtendedProperties.Add("Description", "Condtype");
				_columnCONDTYPE.ExtendedProperties.Add("Length", "250");
				_columnCONDTYPE.ExtendedProperties.Add("Decimals", "0");
				_columnCONDTYPE.ExtendedProperties.Add("AllowDBNulls", "false");
				this.Columns.Add(_columnCONDTYPE);
				
				_columnREASON1 = new DataColumn("REASON1", typeof(string), "", MappingType.Element);
				_columnREASON1.AllowDBNull = true;
				_columnREASON1.Caption = "Reason 1";
				_columnREASON1.MaxLength = 100;
				_columnREASON1.Unique = false;
				_columnREASON1.DefaultValue = Convert.DBNull;
				_columnREASON1.ExtendedProperties.Add("IsKey", "false");
				_columnREASON1.ExtendedProperties.Add("ReadOnly", "false");
				_columnREASON1.ExtendedProperties.Add("Description", "Reason 1");
				_columnREASON1.ExtendedProperties.Add("Length", "100");
				_columnREASON1.ExtendedProperties.Add("Decimals", "0");
				_columnREASON1.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnREASON1);
				
				_columnFKREAL = new DataColumn("FKREAL", typeof(string), "", MappingType.Element);
				_columnFKREAL.AllowDBNull = true;
				_columnFKREAL.Caption = "Fkreal";
				_columnFKREAL.MaxLength = 100;
				_columnFKREAL.Unique = false;
				_columnFKREAL.DefaultValue = Convert.DBNull;
				_columnFKREAL.ExtendedProperties.Add("IsKey", "false");
				_columnFKREAL.ExtendedProperties.Add("ReadOnly", "false");
				_columnFKREAL.ExtendedProperties.Add("Description", "Fkreal");
				_columnFKREAL.ExtendedProperties.Add("Length", "100");
				_columnFKREAL.ExtendedProperties.Add("Decimals", "0");
				_columnFKREAL.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnFKREAL);
				
				_columnSM = new DataColumn("SM", typeof(string), "", MappingType.Element);
				_columnSM.AllowDBNull = true;
				_columnSM.Caption = "Sm";
				_columnSM.MaxLength = 10;
				_columnSM.Unique = false;
				_columnSM.DefaultValue = Convert.DBNull;
				_columnSM.ExtendedProperties.Add("IsKey", "false");
				_columnSM.ExtendedProperties.Add("ReadOnly", "false");
				_columnSM.ExtendedProperties.Add("Description", "Sm");
				_columnSM.ExtendedProperties.Add("Length", "10");
				_columnSM.ExtendedProperties.Add("Decimals", "0");
				_columnSM.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnSM);
				
				_columnGTPRE = new DataColumn("GTPRE", typeof(string), "", MappingType.Element);
				_columnGTPRE.AllowDBNull = true;
				_columnGTPRE.Caption = "Gtpre";
				_columnGTPRE.MaxLength = 2;
				_columnGTPRE.Unique = false;
				_columnGTPRE.DefaultValue = Convert.DBNull;
				_columnGTPRE.ExtendedProperties.Add("IsKey", "false");
				_columnGTPRE.ExtendedProperties.Add("ReadOnly", "false");
				_columnGTPRE.ExtendedProperties.Add("Description", "Gtpre");
				_columnGTPRE.ExtendedProperties.Add("Length", "2");
				_columnGTPRE.ExtendedProperties.Add("Decimals", "0");
				_columnGTPRE.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnGTPRE);
				
				_columnGOODSTYPEID = new DataColumn("GOODSTYPEID", typeof(string), "", MappingType.Element);
				_columnGOODSTYPEID.AllowDBNull = true;
				_columnGOODSTYPEID.Caption = "Goodstypeid";
				_columnGOODSTYPEID.MaxLength = 10;
				_columnGOODSTYPEID.Unique = false;
				_columnGOODSTYPEID.DefaultValue = Convert.DBNull;
				_columnGOODSTYPEID.ExtendedProperties.Add("IsKey", "false");
				_columnGOODSTYPEID.ExtendedProperties.Add("ReadOnly", "false");
				_columnGOODSTYPEID.ExtendedProperties.Add("Description", "Goodstypeid");
				_columnGOODSTYPEID.ExtendedProperties.Add("Length", "10");
				_columnGOODSTYPEID.ExtendedProperties.Add("Decimals", "0");
				_columnGOODSTYPEID.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnGOODSTYPEID);
				
				_columnKEYCONDITION = new DataColumn("KEYCONDITION", typeof(string), "", MappingType.Element);
				_columnKEYCONDITION.AllowDBNull = true;
				_columnKEYCONDITION.Caption = "Keycondition";
				_columnKEYCONDITION.MaxLength = 50;
				_columnKEYCONDITION.Unique = false;
				_columnKEYCONDITION.DefaultValue = Convert.DBNull;
				_columnKEYCONDITION.ExtendedProperties.Add("IsKey", "false");
				_columnKEYCONDITION.ExtendedProperties.Add("ReadOnly", "false");
				_columnKEYCONDITION.ExtendedProperties.Add("Description", "Keycondition");
				_columnKEYCONDITION.ExtendedProperties.Add("Length", "50");
				_columnKEYCONDITION.ExtendedProperties.Add("Decimals", "0");
				_columnKEYCONDITION.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnKEYCONDITION);
				
				_columnKREAL = new DataColumn("KREAL", typeof(string), "", MappingType.Element);
				_columnKREAL.AllowDBNull = true;
				_columnKREAL.Caption = "Kreal";
				_columnKREAL.MaxLength = 100;
				_columnKREAL.Unique = false;
				_columnKREAL.DefaultValue = Convert.DBNull;
				_columnKREAL.ExtendedProperties.Add("IsKey", "false");
				_columnKREAL.ExtendedProperties.Add("ReadOnly", "false");
				_columnKREAL.ExtendedProperties.Add("Description", "Kreal");
				_columnKREAL.ExtendedProperties.Add("Length", "100");
				_columnKREAL.ExtendedProperties.Add("Decimals", "0");
				_columnKREAL.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnKREAL);
				
				_columnLDES = new DataColumn("LDES", typeof(string), "", MappingType.Element);
				_columnLDES.AllowDBNull = true;
				_columnLDES.Caption = "Ldes";
				_columnLDES.MaxLength = 250;
				_columnLDES.Unique = false;
				_columnLDES.DefaultValue = Convert.DBNull;
				_columnLDES.ExtendedProperties.Add("IsKey", "false");
				_columnLDES.ExtendedProperties.Add("ReadOnly", "false");
				_columnLDES.ExtendedProperties.Add("Description", "Ldes");
				_columnLDES.ExtendedProperties.Add("Length", "250");
				_columnLDES.ExtendedProperties.Add("Decimals", "0");
				_columnLDES.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnLDES);
				
				_columnSDES = new DataColumn("SDES", typeof(string), "", MappingType.Element);
				_columnSDES.AllowDBNull = true;
				_columnSDES.Caption = "Sdes";
				_columnSDES.MaxLength = 250;
				_columnSDES.Unique = false;
				_columnSDES.DefaultValue = Convert.DBNull;
				_columnSDES.ExtendedProperties.Add("IsKey", "false");
				_columnSDES.ExtendedProperties.Add("ReadOnly", "false");
				_columnSDES.ExtendedProperties.Add("Description", "Sdes");
				_columnSDES.ExtendedProperties.Add("Length", "250");
				_columnSDES.ExtendedProperties.Add("Decimals", "0");
				_columnSDES.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnSDES);
				
				_columnPOS = new DataColumn("POS", typeof(int), "", MappingType.Element);
				_columnPOS.AllowDBNull = true;
				_columnPOS.Caption = "Pos";
				_columnPOS.Unique = false;
				_columnPOS.DefaultValue = Convert.DBNull;
				_columnPOS.ExtendedProperties.Add("IsKey", "false");
				_columnPOS.ExtendedProperties.Add("ReadOnly", "false");
				_columnPOS.ExtendedProperties.Add("Description", "Pos");
				_columnPOS.ExtendedProperties.Add("Decimals", "0");
				_columnPOS.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnPOS);
				
				_columnLPOS = new DataColumn("LPOS", typeof(int), "", MappingType.Element);
				_columnLPOS.AllowDBNull = true;
				_columnLPOS.Caption = "Lpos";
				_columnLPOS.Unique = false;
				_columnLPOS.DefaultValue = Convert.DBNull;
				_columnLPOS.ExtendedProperties.Add("IsKey", "false");
				_columnLPOS.ExtendedProperties.Add("ReadOnly", "false");
				_columnLPOS.ExtendedProperties.Add("Description", "Lpos");
				_columnLPOS.ExtendedProperties.Add("Decimals", "0");
				_columnLPOS.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnLPOS);
				
				_columnSUBSTATUS = new DataColumn("SUBSTATUS", typeof(string), "", MappingType.Element);
				_columnSUBSTATUS.AllowDBNull = true;
				_columnSUBSTATUS.Caption = "Substatus";
				_columnSUBSTATUS.MaxLength = -1;
				_columnSUBSTATUS.Unique = false;
				_columnSUBSTATUS.DefaultValue = Convert.DBNull;
				_columnSUBSTATUS.ExtendedProperties.Add("IsKey", "false");
				_columnSUBSTATUS.ExtendedProperties.Add("ReadOnly", "false");
				_columnSUBSTATUS.ExtendedProperties.Add("Description", "Substatus");
				_columnSUBSTATUS.ExtendedProperties.Add("Length", "-1");
				_columnSUBSTATUS.ExtendedProperties.Add("Decimals", "0");
				_columnSUBSTATUS.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnSUBSTATUS);
				
				_columnSTATUS = new DataColumn("STATUS", typeof(string), "", MappingType.Element);
				_columnSTATUS.AllowDBNull = true;
				_columnSTATUS.Caption = "Status";
				_columnSTATUS.MaxLength = 50;
				_columnSTATUS.Unique = false;
				_columnSTATUS.DefaultValue = Convert.DBNull;
				_columnSTATUS.ExtendedProperties.Add("IsKey", "false");
				_columnSTATUS.ExtendedProperties.Add("ReadOnly", "false");
				_columnSTATUS.ExtendedProperties.Add("Description", "Status");
				_columnSTATUS.ExtendedProperties.Add("Length", "50");
				_columnSTATUS.ExtendedProperties.Add("Decimals", "0");
				_columnSTATUS.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnSTATUS);
				
				_columnFUSER = new DataColumn("FUSER", typeof(string), "", MappingType.Element);
				_columnFUSER.AllowDBNull = true;
				_columnFUSER.Caption = "Fuser";
				_columnFUSER.MaxLength = 40;
				_columnFUSER.Unique = false;
				_columnFUSER.DefaultValue = Convert.DBNull;
				_columnFUSER.ExtendedProperties.Add("IsKey", "false");
				_columnFUSER.ExtendedProperties.Add("ReadOnly", "false");
				_columnFUSER.ExtendedProperties.Add("Description", "Fuser");
				_columnFUSER.ExtendedProperties.Add("Length", "40");
				_columnFUSER.ExtendedProperties.Add("Decimals", "0");
				_columnFUSER.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnFUSER);
				
				_columnFDATE = new DataColumn("FDATE", typeof(DateTime), "", MappingType.Element);
				_columnFDATE.AllowDBNull = true;
				_columnFDATE.Caption = "Fdate";
				_columnFDATE.Unique = false;
				_columnFDATE.DefaultValue = Convert.DBNull;
				_columnFDATE.ExtendedProperties.Add("IsKey", "false");
				_columnFDATE.ExtendedProperties.Add("ReadOnly", "false");
				_columnFDATE.ExtendedProperties.Add("Description", "Fdate");
				_columnFDATE.ExtendedProperties.Add("Decimals", "0");
				_columnFDATE.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnFDATE);
				
				_columnLUSER = new DataColumn("LUSER", typeof(string), "", MappingType.Element);
				_columnLUSER.AllowDBNull = true;
				_columnLUSER.Caption = "Luser";
				_columnLUSER.MaxLength = 40;
				_columnLUSER.Unique = false;
				_columnLUSER.DefaultValue = Convert.DBNull;
				_columnLUSER.ExtendedProperties.Add("IsKey", "false");
				_columnLUSER.ExtendedProperties.Add("ReadOnly", "false");
				_columnLUSER.ExtendedProperties.Add("Description", "Luser");
				_columnLUSER.ExtendedProperties.Add("Length", "40");
				_columnLUSER.ExtendedProperties.Add("Decimals", "0");
				_columnLUSER.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnLUSER);
				
				_columnLDATE = new DataColumn("LDATE", typeof(DateTime), "", MappingType.Element);
				_columnLDATE.AllowDBNull = true;
				_columnLDATE.Caption = "Ldate";
				_columnLDATE.Unique = false;
				_columnLDATE.DefaultValue = Convert.DBNull;
				_columnLDATE.ExtendedProperties.Add("IsKey", "false");
				_columnLDATE.ExtendedProperties.Add("ReadOnly", "false");
				_columnLDATE.ExtendedProperties.Add("Description", "Ldate");
				_columnLDATE.ExtendedProperties.Add("Decimals", "0");
				_columnLDATE.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnLDATE);
				
				_columnUID = new DataColumn("UID", typeof(string), "", MappingType.Element);
				_columnUID.AllowDBNull = true;
				_columnUID.Caption = "Uid";
				_columnUID.MaxLength = 256;
				_columnUID.Unique = false;
				_columnUID.DefaultValue = Convert.DBNull;
				_columnUID.ExtendedProperties.Add("IsKey", "false");
				_columnUID.ExtendedProperties.Add("ReadOnly", "false");
				_columnUID.ExtendedProperties.Add("Description", "Uid");
				_columnUID.ExtendedProperties.Add("Length", "256");
				_columnUID.ExtendedProperties.Add("Decimals", "0");
				_columnUID.ExtendedProperties.Add("AllowDBNulls", "true");
				this.Columns.Add(_columnUID);
				
			}
			
			public GOODSTYPEQueryCondRow NewGOODSTYPEQueryCondRow()
			{
				GOODSTYPEQueryCondRow rowGOODSTYPEQueryCondRow = ((GOODSTYPEQueryCondRow)(this.NewRow()));
				return rowGOODSTYPEQueryCondRow;
			}
			
			protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
			{
				return new GOODSTYPEQueryCondRow(builder);
			}
			
			protected override Type GetRowType()
			{
				return typeof(GOODSTYPEQueryCondRow);
			}
			
			protected override void OnRowChanged(DataRowChangeEventArgs e)
			{
				base.OnRowChanged(e);
				if (this.GOODSTYPEQueryCondRowChanged != null)
				{
					this.GOODSTYPEQueryCondRowChanged(this, new GOODSTYPEQueryCondRowChangeEventArgs(((GOODSTYPEQueryCondRow)(e.Row)), e.Action));
				}
			}
			
			protected override void OnRowChanging(DataRowChangeEventArgs e)
			{
				base.OnRowChanging(e);
				if (this.GOODSTYPEQueryCondRowChanging != null)
				{
					this.GOODSTYPEQueryCondRowChanging(this, new GOODSTYPEQueryCondRowChangeEventArgs(((GOODSTYPEQueryCondRow)(e.Row)), e.Action));
				}
			}
			
			protected override void OnRowDeleted(DataRowChangeEventArgs e)
			{
				base.OnRowDeleted(e);
				if (this.GOODSTYPEQueryCondRowDeleted != null)
				{
					this.GOODSTYPEQueryCondRowDeleted(this, new GOODSTYPEQueryCondRowChangeEventArgs(((GOODSTYPEQueryCondRow)(e.Row)), e.Action));
				}
			}
			
			protected override void OnRowDeleting(DataRowChangeEventArgs e)
			{
				base.OnRowDeleting(e);
				if (this.GOODSTYPEQueryCondRowDeleting != null)
				{
					this.GOODSTYPEQueryCondRowDeleting(this, new GOODSTYPEQueryCondRowChangeEventArgs(((GOODSTYPEQueryCondRow)(e.Row)), e.Action));
				}
			}
			
			public void RemoveGOODSTYPEQueryCondRow(GOODSTYPEQueryCondRow row)
			{
				this.Rows.Remove(row);
			}
		}
		
		public class GOODSTYPEQueryCondRow: DataRow
		{
			private GOODSTYPEQueryCondDataTable _tableGOODSTYPEQueryCond;
			
			internal GOODSTYPEQueryCondRow(DataRowBuilder rb): base(rb)
			{
				_tableGOODSTYPEQueryCond = ((GOODSTYPEQueryCondDataTable)(this.Table));
			}
			
			/// <summary>
			/// Gets or sets the value of QUERYTYPE property
			/// </summary>
			public string QUERYTYPE
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPEQueryCond.QUERYTYPEColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value QUERYTYPE because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.QUERYTYPEColumn] = value;
				}
			}
			
			public bool IsQUERYTYPENull()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.QUERYTYPEColumn);
			}
			
			public void SetQUERYTYPENull()
			{
				this[_tableGOODSTYPEQueryCond.QUERYTYPEColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of CONDTYPE property
			/// </summary>
			public string CONDTYPE
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPEQueryCond.CONDTYPEColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value CONDTYPE because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.CONDTYPEColumn] = value;
				}
			}
			
			public bool IsCONDTYPENull()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.CONDTYPEColumn);
			}
			
			public void SetCONDTYPENull()
			{
				this[_tableGOODSTYPEQueryCond.CONDTYPEColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of REASON1 property
			/// </summary>
			public string REASON1
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPEQueryCond.REASON1Column]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value REASON1 because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.REASON1Column] = value;
				}
			}
			
			public bool IsREASON1Null()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.REASON1Column);
			}
			
			public void SetREASON1Null()
			{
				this[_tableGOODSTYPEQueryCond.REASON1Column] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of FKREAL property
			/// </summary>
			public string FKREAL
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPEQueryCond.FKREALColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value FKREAL because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.FKREALColumn] = value;
				}
			}
			
			public bool IsFKREALNull()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.FKREALColumn);
			}
			
			public void SetFKREALNull()
			{
				this[_tableGOODSTYPEQueryCond.FKREALColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of SM property
			/// </summary>
			public string SM
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPEQueryCond.SMColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value SM because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.SMColumn] = value;
				}
			}
			
			public bool IsSMNull()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.SMColumn);
			}
			
			public void SetSMNull()
			{
				this[_tableGOODSTYPEQueryCond.SMColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of GTPRE property
			/// </summary>
			public string GTPRE
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPEQueryCond.GTPREColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value GTPRE because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.GTPREColumn] = value;
				}
			}
			
			public bool IsGTPRENull()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.GTPREColumn);
			}
			
			public void SetGTPRENull()
			{
				this[_tableGOODSTYPEQueryCond.GTPREColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of GOODSTYPEID property
			/// </summary>
			public string GOODSTYPEID
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPEQueryCond.GOODSTYPEIDColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value GOODSTYPEID because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.GOODSTYPEIDColumn] = value;
				}
			}
			
			public bool IsGOODSTYPEIDNull()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.GOODSTYPEIDColumn);
			}
			
			public void SetGOODSTYPEIDNull()
			{
				this[_tableGOODSTYPEQueryCond.GOODSTYPEIDColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of KEYCONDITION property
			/// </summary>
			public string KEYCONDITION
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPEQueryCond.KEYCONDITIONColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value KEYCONDITION because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.KEYCONDITIONColumn] = value;
				}
			}
			
			public bool IsKEYCONDITIONNull()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.KEYCONDITIONColumn);
			}
			
			public void SetKEYCONDITIONNull()
			{
				this[_tableGOODSTYPEQueryCond.KEYCONDITIONColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of KREAL property
			/// </summary>
			public string KREAL
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPEQueryCond.KREALColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value KREAL because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.KREALColumn] = value;
				}
			}
			
			public bool IsKREALNull()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.KREALColumn);
			}
			
			public void SetKREALNull()
			{
				this[_tableGOODSTYPEQueryCond.KREALColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of LDES property
			/// </summary>
			public string LDES
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPEQueryCond.LDESColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value LDES because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.LDESColumn] = value;
				}
			}
			
			public bool IsLDESNull()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.LDESColumn);
			}
			
			public void SetLDESNull()
			{
				this[_tableGOODSTYPEQueryCond.LDESColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of SDES property
			/// </summary>
			public string SDES
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPEQueryCond.SDESColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value SDES because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.SDESColumn] = value;
				}
			}
			
			public bool IsSDESNull()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.SDESColumn);
			}
			
			public void SetSDESNull()
			{
				this[_tableGOODSTYPEQueryCond.SDESColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of POS property
			/// </summary>
			public int POS
			{
				get
				{
					try
					{
						return ((int)(this[_tableGOODSTYPEQueryCond.POSColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value POS because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.POSColumn] = value;
				}
			}
			
			public bool IsPOSNull()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.POSColumn);
			}
			
			public void SetPOSNull()
			{
				this[_tableGOODSTYPEQueryCond.POSColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of LPOS property
			/// </summary>
			public int LPOS
			{
				get
				{
					try
					{
						return ((int)(this[_tableGOODSTYPEQueryCond.LPOSColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value LPOS because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.LPOSColumn] = value;
				}
			}
			
			public bool IsLPOSNull()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.LPOSColumn);
			}
			
			public void SetLPOSNull()
			{
				this[_tableGOODSTYPEQueryCond.LPOSColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of SUBSTATUS property
			/// </summary>
			public string SUBSTATUS
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPEQueryCond.SUBSTATUSColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value SUBSTATUS because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.SUBSTATUSColumn] = value;
				}
			}
			
			public bool IsSUBSTATUSNull()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.SUBSTATUSColumn);
			}
			
			public void SetSUBSTATUSNull()
			{
				this[_tableGOODSTYPEQueryCond.SUBSTATUSColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of STATUS property
			/// </summary>
			public string STATUS
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPEQueryCond.STATUSColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value STATUS because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.STATUSColumn] = value;
				}
			}
			
			public bool IsSTATUSNull()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.STATUSColumn);
			}
			
			public void SetSTATUSNull()
			{
				this[_tableGOODSTYPEQueryCond.STATUSColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of FUSER property
			/// </summary>
			public string FUSER
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPEQueryCond.FUSERColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value FUSER because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.FUSERColumn] = value;
				}
			}
			
			public bool IsFUSERNull()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.FUSERColumn);
			}
			
			public void SetFUSERNull()
			{
				this[_tableGOODSTYPEQueryCond.FUSERColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of FDATE property
			/// </summary>
			public DateTime FDATE
			{
				get
				{
					try
					{
						return ((DateTime)(this[_tableGOODSTYPEQueryCond.FDATEColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value FDATE because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.FDATEColumn] = value;
				}
			}
			
			public bool IsFDATENull()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.FDATEColumn);
			}
			
			public void SetFDATENull()
			{
				this[_tableGOODSTYPEQueryCond.FDATEColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of LUSER property
			/// </summary>
			public string LUSER
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPEQueryCond.LUSERColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value LUSER because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.LUSERColumn] = value;
				}
			}
			
			public bool IsLUSERNull()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.LUSERColumn);
			}
			
			public void SetLUSERNull()
			{
				this[_tableGOODSTYPEQueryCond.LUSERColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of LDATE property
			/// </summary>
			public DateTime LDATE
			{
				get
				{
					try
					{
						return ((DateTime)(this[_tableGOODSTYPEQueryCond.LDATEColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value LDATE because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.LDATEColumn] = value;
				}
			}
			
			public bool IsLDATENull()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.LDATEColumn);
			}
			
			public void SetLDATENull()
			{
				this[_tableGOODSTYPEQueryCond.LDATEColumn] = Convert.DBNull;
			}
			
			/// <summary>
			/// Gets or sets the value of UID property
			/// </summary>
			public string UID
			{
				get
				{
					try
					{
						return ((string)(this[_tableGOODSTYPEQueryCond.UIDColumn]));
					}
					catch (InvalidCastException exception)
					{
						throw new StrongTypingException("Cannot get value UID because it is DBNull.", exception);
					}
				}
				set
				{
					this[_tableGOODSTYPEQueryCond.UIDColumn] = value;
				}
			}
			
			public bool IsUIDNull()
			{
				return this.IsNull(_tableGOODSTYPEQueryCond.UIDColumn);
			}
			
			public void SetUIDNull()
			{
				this[_tableGOODSTYPEQueryCond.UIDColumn] = Convert.DBNull;
			}
			
		}
		
		public class GOODSTYPEQueryCondRowChangeEventArgs: EventArgs
		{
			private GOODSTYPEQueryCondRow _eventRow;
			private System.Data.DataRowAction _eventAction;
			
			public GOODSTYPEQueryCondRowChangeEventArgs(GOODSTYPEQueryCondRow row, DataRowAction action)
			{
				_eventRow = row;
				_eventAction = action;
			}
			
			public GOODSTYPEQueryCondRow Row
			{
				get
				{
					return _eventRow;
				}
			}
			
			public DataRowAction Action
			{
				get
				{
					return _eventAction;
				}
			}
		}
	}
	#endregion
    }
